package com.tm.service;

import com.tm.model.Dept;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletResponse;
import java.util.List;
import java.util.Map;

/**
 * @author huangp
 * @create 2021-09-12 11:25
 */
public interface deptService {
    List<Map<String, Object>> allDept();

    void addDept(Dept dept);

    Dept queryDeptById(Integer id);

    void updateData(Dept dept);

    void delDeptById(Integer id);

    void exportFile(HttpServletResponse response);

    void uploadFile(MultipartFile dataFile);
}
